body,
input,
button,
select,
textarea,
.vxe-table--render-default {
    font-family: "微软雅黑", 'HanHei SC', "PingFang SC", "Microsoft Yahei", tahoma, arial, sans-serif;
}

.ant-layout {
    width: 100%;
    height: 100%;
    // background-color: #ffffff !important;
    overflow: hidden;
    .ant-layout-header {
        height: auto;
        padding: 0;
    }
    .ant-layout-header,
    .ant-layout-sider,
    .ant-layout-footer {
        // background-color: #ffffff !important;
    }
    .ant-layout-content {
        height: 100%;
        overflow: hidden auto;
    }
}

.home-menu-item-router {
    padding-left: 38px !important;
}

.ant-menu-sub.ant-menu-inline {
    background: #ffffff;
}


/**
  * 修改antdv的 Spin 加载样式 
*/

.ant-spin-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    .ant-spin-nested-loading {
        position: relative;
    }
}

.ant-spin-nested-loading>div>.ant-spin {
    max-height: unset !important;
}

.ant-spin-nested-loading {
    width: 100%;
    height: 100%;
}

// badge
.ant-badge-status-red {
    &::after {
        border-color: $font-error-color !important;
    }
}

.ant-badge-status-green {
    &::after {
        border-color: $font-success-color !important;
    }
}

.ant-badge-status-yellow {
    &::after {
        border-color: $font-warning-color !important;
    }
}

.ant-badge-status-dot {
    width: 8px !important;
    height: 8px !important;
}

.ant-drawer-wrapper-body {
    width: 100%;
    height: 100%;
    // overflow: hidden;
    display: flex;
    flex-direction: column;
    .ant-drawer-header {
        height: auto;
        flex-shrink: 0;
        border: 0;
    }
    .ant-drawer-body {
        flex: 1;
        flex-shrink: 0;
        padding: 16px;
        //     overflow: hidden;
        padding: 0
    }
}

.ant-tooltip-placement-top {
    max-width: 400px;
}

.ant-popover-inner-content {
    padding: 5px 10px;
}

.popover-swich-org {
    cursor: pointer;
    margin: 5px 0;
    height: 30px;
    padding: 0 5px;
    line-height: 30px;
}

.ant-select-selector,
.ant-input,
.ant-btn {
    box-shadow: none !important;
}

.popover-swich-org-title {
    height: 30px;
    line-height: 30px;
}

.popover-swich-org:hover {
    color: $theme-color
}

.ant-modal-footer,
.drawer_bottom {
    .ant-btn {
        padding: 0px 22px
    }
    button+button {
        margin-left: 16px;
    }
}

.ant-modal-content {
    border-radius: 8px;
    .ant-modal-header {
        border-radius: 8px 8px 0px 0px;
        border-bottom: 0
    }
    .ant-modal-footer {
        padding: 0 24px 24px 24px;
        border-top: 0
    }
}

.ant-select-multiple .anticon-close {
    color: $font-subtitle-color !important;
}

.ant-select-multiple .ant-select-selection-item {
    color: $font-subtitle-color !important;
    background: $tag-bg-text_bg !important;
}

.ant-tag .ant-tag-close-icon {
    color: $font-subtitle-color !important;
}

.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input {
    padding: 4px 11px;
}


/* radio单选按钮 */

.ant-radio-inner::after {
    // position:absolute !important;
    // left:3.6px !important;
    // top:3.6px !important;
    // transform: translate(-50%,-50%) !important;
    background-color: #fff !important;
    /* box-sizing: border-box; */
    /* border:1px solid  rgb(0, 153, 255) !important; */
    // width:7.8px !important;
    // height:7.8px !important;
    // border-radius:50% !important;
    // text-align: center;
    // margin: auto;
}

.ant-radio-checked .ant-radio-inner {
    background-color: rgb(0, 153, 255) !important;
}


/* 复选框边框粗细 */

.vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--checked-icon::after {
    border-width: 0px 3px 3px 0px !important;
    top: 48% !important;
}

.vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon::before {
    border-width: 1px;
}

.checkBoxSelect .ant-select-tree li span.ant-select-tree-switcher {
    display: none
}

.ant-cascader-menu-item-active {
    color: $theme-color
}

.ant-pagination-item {
    &.ant-pagination-item-active {
        background: $theme-color;
        a {
            color: $bg-content !important;
        }
    }
    a {
        color: $font-subtitle-color !important;
    }
}

.wd-search,
.wd-form {
    .anticon-close-circle,
    .ant-cascader-picker-arrow,
    .anticon-down,
    .ant-select-clear .close-circle {
        color: $font-prompt-color !important;
        font-size: 12px;
    }
}


/* input 删除icon 大小*/

.ant-input-clear-icon,
.ant-input-textarea-clear-icon {
    font-size: 12px;
}

.wd-form-item_content>* {
    box-shadow: none;
}

.ant-select-dropdown .rc-virtual-list-scrollbar {
    width: 4px !important;
}

// /deep/.ant-tree-child-tree>li:first-child {
//   padding-top: 2px;
// }
.wd-form-item_content,
.wd_dialog {
     ::-webkit-input-placeholder {
        color: $font-prompt-color;
    }
     ::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: $font-prompt-color;
    }
     :-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: $font-prompt-color;
    }
     :-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: $font-prompt-color;
    }
    .ant-select-selection-placeholder {
        color: $font-prompt-color !important;
    }
}

.ant-collapse {
    .ant-collapse-item {
        // border-bottom:0;
    }
    .ant-collapse-content {
        border-top: 0;
    }
}

.text-danger {
    color: $font-error-color;
}

.ant-popover-inner .ant-popover-inner-content {
    // padding: 0px 0rem;
}